import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import './assets/css/global.css'
import '../src/assets/fonts/iconfont.css'
import ZkTable from 'vue-table-with-tree-grid'
import '../src/api/axios.js'
import echarts from 'echarts'

// 引入全局过滤器
import './common/filters.js'
// 引入富文本编辑器 插件
import VueQuillEditor from 'vue-quill-editor'
// 引入富文本编辑器样式
import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme

// 注册全局组件
Vue.use(VueQuillEditor)
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts

// 引入表格展开插件
Vue.component('tree-table', ZkTable)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
